package cn.echase.ecare.yinfayun.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.io.Serializable;

/**
 * 机构参数配置表
 *
 * @auther jiangyilong
 * @date 2025-05-12 09:58
 * @description 机构参数配置表
 */
@Data
@TableName(value = "eld_org_config")
public class OrgConfig extends TenantEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 逻辑主键
     */
    @TableField(value = "uc_id")
    private String ucId;

    /**
     * 部门id
     */
    private Long deptId;

    /**
     * key
     */
    @TableField(value = "config_key")
    private String configKey;

    /**
     * 参数名
     */
    @TableField(value = "config_name")
    private String configName;

    /**
     * 值
     */
    @TableField(value = "config_value")
    private String configValue;

    /**
     * 启用状态 0:停用 1:启用
     */
    @TableField(value = "is_enable")
    private Integer isEnable;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}